{extend name="personcentor/information"}
{block name="main"}
<div class="col-main">
    <div class="main-wrap">
        <br/>
        <br/>
        <br/>
        <div class="">
            <h3 style="margin-left: 40%;">编辑房源信息</h3>
        <form class="form-horizontal" method="post" action="{:url('index/business/update',['id'=>$result['id']])}">
            <div class="form-group">
                <label for="inputEmail3" class="col-sm-2 control-label">房屋名字:</label>
                <div class="col-sm-10">
                    <input type="text" name="house_name" class="form-control" id="inputEmail3" placeholder="房屋名字" value="{$result.house_name}">
                    <input type="hidden" name="_method" value="PUT"/>
                    <input type="hidden" name="id" value="{$result.id}"/>
                </div>
            </div>
            <div class="form-group">
                <label for="inputPassword3"  class="col-sm-2 control-label">房屋地址:</label>
                <div class="col-sm-10">
                    <input type="text" class="form-control" name="house_address" id="inputPassword3" placeholder="房屋地址" value="{$result.house_address}">
                </div>
            </div>

            <div class="form-group">
                <label for="inputPassword3"  class="col-sm-2 control-label">房屋价格:</label>
                <div class="col-sm-10">
                    <input type="text" name="houseprice" class="form-control"  placeholder="房屋价格,以天计算" value="{$result.houseprice}">
                </div>
            </div>

            <div class="form-group" style="margin-left: 30%;">
                <div class="col-sm-offset-2 col-sm-10">
                    <button type="submit" class="btn btn-info">确认修改</button>
                </div>
            </div>
        </form>
        </div>
    </div>
</div>
{/block}
